package com.lovo.roomProject.room.service;

import com.lovo.roomProject.pojo.CutPageBean;
import com.lovo.roomProject.pojo.RoomDO;

import java.util.List;

public interface RoomService {
    List listRoom();

    List listRoomByType(String type);

    //分页
    CutPageBean listRoomByPage(int current,String addr,String status,String available,String type);

    //添加
    void insert(RoomDO roomDO);

    //查询房间
    RoomDO getAddr(String addr);

    //查询房间人数
    int getCount(int id);
    //删除房间
    void delete(int id);

    RoomDO getById(int id);


    List listStudentById(int id);

    void update(RoomDO roomDO);





}
